package com.zlt.bkparking.mapper;

import com.zlt.bkparking.entity.Permission;
import com.zlt.bkparking.entity.Role;
import com.zlt.bkparking.vo.ParkingVo;
import com.zlt.bkparking.vo.RoleVo;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface MyMapper {

    List<Role> selectRoleByBuId(Long buId);

    List<Permission> selectPermissionByRid(Integer rid);

    int setBURStateByBuId(Long buId);

    List<ParkingVo> selectAllParking();

    List<ParkingVo> selectParkingByPid(Integer id);
}
